package org.geektimes.config.microprofile.converter;

import org.eclipse.microprofile.config.spi.Converter;

/**
 * @FileName: StringToIntegerConverter
 * @Description: TODO
 * @Author: MaWenHao
 * @Created: 2021/3/17 - 下午11:32
 */
public class StringToIntegerConverter implements Converter<Integer> {
    @Override
    public Integer convert(String value) throws IllegalArgumentException, NullPointerException {
        return Integer.valueOf(value);
    }
}
